package com.qxbb.report.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.qxbb.report.utils.CustomDoubleSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version 1.0
 * @author: pebble
 * @data 2023/10/16 9:55
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InventoryStoreVO {

    /**
     * 连锁店id
     */
    private Integer id;

    /**
     * 连锁店名称
     */
    private String chainName;

    /**
     * 连锁店经营者
     */
    private String ownerName;

    /**
     * 库存数量
     */
    private int quantity;

    /**
     * 库存成本金额
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private double costAmount;

    /**
     * 估算销售金额
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private double salesAmount;

}
